package com.aphrodite.io.sip.call;

import com.aphrodite.io.sip.address.NameAddress;
import com.aphrodite.io.sip.message.Message;

/**
 * A TransactionServerAccepterListener listens for TransactionServerAccepter
 * events. It listens for new incoming trasaction requests that create a new
 * Call.
 */
public interface CallAccepterListener extends ExtendedCallListener {
	/**
	 * When the CallAccepter receives a new invite request that creates a new
	 * Call.
	 */
	public void onNewCall(CallAccepter call_accepter, Call call, NameAddress callee, NameAddress caller, String sdp,
			Message invite);

}
